package FlowGram.Application.IDEWindow.FileHost;
import javax.swing.Icon;
import javax.swing.JTabbedPane;

import FlowGram.Application.Parser.*;

public class CodeFile {

	private String name;
	private String path;
	private boolean dirty;
	private FinchProgramFlow programFlow;
	private JTabbedPane fileTabbedPane;
	
	public CodeFile(String newName, String newPath, boolean newDirty, FinchProgramFlow newProgramFlow){
		this.name = newName;
		this.path = newPath;
		this.dirty = newDirty;
		this.programFlow = newProgramFlow;
	}
	
	public String getName(){
		return this.name;
	}
	
	public void setName(String newName){
		this.name = newName;
	}
	
	public String getPath(){
		return this.path;
	}
	
	public void setPath(String newPath){
		this.path = newPath;
	}
	
	public boolean isDirty(){
		return this.dirty;
	}
	
	public void setDirty(Boolean newDirty){
		this.dirty = newDirty;
	}
	
	public FinchProgramFlow getProgramFlow(){
		return this.programFlow;
	}
	
	public void setProgramFlow(FinchProgramFlow newProgramFlow){
		this.programFlow = newProgramFlow;
	}
	
	public JTabbedPane getFileTabbedPane(){
		return this.fileTabbedPane;
	}
	
	public void setFileTabbedPane(JTabbedPane newFileTabbedPane){
		this.fileTabbedPane = newFileTabbedPane;
	}
}
